home *** CD-ROM | disk | FTP | other *** search
/ Aminet 38 / Aminet 38 (2000)(Schatztruhe)[!][Aug 2000].iso / Aminet / dev / c / CLib-SDI.readme < prev    next >
Encoding:
Text File  |  2000-07-01  |  5.6 KB  |  117 lines

  1. Short:    V1.0 example.library in 100% C code
  2. Author:   Dirk Stoecker, Andreas R. Kleinert, lots of other people
  3. Uploader: stoecker@amigaworld.com (Dirk Stoecker)
  4. Type:     dev/c
  5.  
  6. example.library V1.0 (25.06.2000)
  7. An Amiga shared library in 100 % C language - coming with sources.
  8.  
  9. Supported and tested compilers:
  10. SAS/C 6.5x, MaxonC 3.x, MaxonCPP 4.x, StormC 3.x, GCC 2.7.2.1,
  11. vbcc 0.7
  12.  
  13. This example library code is partly based on CLib37x by Andreas R. Kleinert.
  14. The main stuff comes from my own library startup code developed for
  15. xpkmaster.library and xadmaster.library.
  16.  
  17. I decide to release my own code to show a somewhat different method.
  18. Some of the texts are taken from Andreas release. Best is to check both
  19. ways and choose the one you like most (or mix them :-).
  20.  
  21. Thanks must go to: Andreas R. Kleinert for the initial idea in 1996.
  22. Gunter Nikl for developing the main SDI_compiler.h stuff and for telling
  23. me lots of improvements and bug fixes. All the others contributing to
  24. Andreas release.
  25.  
  26. This sample library intends to make Amiga shared library sources compileable
  27. with any available Amiga C compiler - without any changes to the source code.
  28.  
  29. This seams to be easily done: nearly any noticeable compiler for the Amiga
  30. does support generation of libraries by special linker commands and pre-
  31. generated object files.
  32.  
  33. But when looking into the details, one will find out, that these linker
  34. functionality just reduces the influence of the programmer on how his sources
  35. are handled, that the pre-generated object files just originally were done
  36. in Assembler, and that each compiler does define its own interface definitions
  37. and usage rules.
  38.  
  39. But as a programmer, it is important to have control over the _complete_
  40. source code and to be able to compile it _anywhere_ with only minor changes,
  41. even better without any changes.
  42.  
  43. Since most Amiga system modules - noticeable Libraries, Devices and Resources -
  44. do have startup-modules and other larger parts completely written in Assembler
  45. language, the most important task for getting inter-compiler and operating
  46. system independant sources in my opinion is, to completely migrate the
  47. interfaces to C language.
  48.  
  49. If you can submit adjustments for the other compilers as mentioned above: feel
  50. free to send these. Feel free to use this source for own projects.
  51.  
  52. History:
  53.   1.0  first version, Made with help of CLib by Andreas Kleinert and my
  54.        library code used in xadmaster.library.
  55.  
  56. Please contact me:
  57.  
  58. ************************************************************************
  59. * snail-mail:                  * e-mail:                               *
  60. *   Dirk Stoecker              *   stoecker@amigaworld.com             *
  61. *   Geschwister-Scholl-Str. 10 *   dstoecker@gmx.de                    *
  62. *   01877 Bischofswerda        * world wide web:                       *
  63. *   GERMANY                    *   http://home.pages.de/~stoecker/     *
  64. * phone:                       * pgp key:                              *
  65. *   GERMANY +49 (0)3594/706666 *   get with finger or from WWW pages   *
  66. ************************************************************************
  67.  
  68.  
  69. ============================= Archive contents =============================
  70.  
  71. Original  Packed Ratio    Date     Time    Name
  72. -------- ------- ----- --------- --------  -------------
  73.     2146    1523 29.0% 25-Jun-00 18:36:44  CLib-SDI.info
  74.     3123    1413 54.7% 25-Jun-00 18:36:44 +CLib-SDI.readme
  75.      477     240 49.6% 25-Jun-00 18:36:44 +example_protos.h
  76.      185     134 27.5% 25-Jun-00 18:36:44 +example_lib.fd
  77.      750     308 58.9% 25-Jun-00 18:36:44 +example.h
  78.      682     270 60.4% 25-Jun-00 18:36:44 +example_protos.h
  79.      450     265 41.1% 25-Jun-00 18:36:44 +example.h
  80.      827     431 47.8% 25-Jun-00 18:36:44 +NOTE
  81.      729     295 59.5% 25-Jun-00 18:36:44 +example_lib.h
  82.      448     220 50.8% 25-Jun-00 18:36:44 +example.h
  83.    21907    4434 79.7% 25-Jun-00 18:36:44 +dos.h
  84.    30125    5336 82.2% 25-Jun-00 18:36:44 +dos_protos.h
  85.    14711    2961 79.8% 25-Jun-00 18:36:44 +exec.h
  86.    21051    3647 82.6% 25-Jun-00 18:36:44 +exec_protos.h
  87.    21821    4119 81.1% 25-Jun-00 18:36:44 +intuition.h
  88.    29003    4897 83.1% 25-Jun-00 18:36:44 +intuition_protos.h
  89.    17952    3222 82.0% 25-Jun-00 18:36:44 +dos_lib.h
  90.    12305    2246 81.7% 25-Jun-00 18:36:44 +exec_lib.h
  91.    16211    2762 82.9% 25-Jun-00 18:36:44 +intuition_lib.h
  92.      411     219 46.7% 25-Jun-00 18:36:44 +dos.h
  93.      338     185 45.2% 25-Jun-00 18:36:44 +exec.h
  94.      384     201 47.6% 25-Jun-00 18:36:44 +intuition.h
  95.      652     474 27.3% 25-Jun-00 18:36:44 +example.libraryGCC
  96.     1048     669 36.1% 25-Jun-00 18:36:44 +example.libraryMAXON3
  97.     1048     674 35.6% 25-Jun-00 18:36:44 +example.libraryMAXON4
  98.      616     451 26.7% 25-Jun-00 18:36:44 +example.librarySAS
  99.      864     563 34.8% 25-Jun-00 18:36:44 +example.libraryStorm
  100.      748     546 27.0% 25-Jun-00 18:36:44 +example.libraryVBCC
  101.     1315     634 51.7% 25-Jun-00 18:36:44 +examplefuncs.c
  102.     2634     860 67.3% 25-Jun-00 18:36:44 +libinfo.h
  103.     7260    2209 69.5% 25-Jun-00 18:36:44 +libinit.c
  104.      510     237 53.5% 25-Jun-00 18:36:44 +makefile.gcc
  105.      295     129 56.2% 25-Jun-00 18:36:44 +makefile.Maxon
  106.      546     257 52.9% 25-Jun-00 18:36:44 +makefile.Storm
  107.      489     225 53.9% 25-Jun-00 18:36:44 +makefile.vbcc
  108.      628     342 45.5% 25-Jun-00 18:36:44 +project.MaxonCPP4
  109.     1566     563 64.0% 25-Jun-00 18:36:44 +project.StormC.ΒΆ
  110.     1390     534 61.5% 25-Jun-00 18:36:44 +SDI_compiler.h
  111.     2454     663 72.9% 25-Jun-00 18:36:44 +SMakeFile
  112.     2746    1236 54.9% 25-Jun-00 18:36:44 +ReadMe
  113.     1692    1190 29.6% 25-Jun-00 18:36:44 +Test
  114.     1328     621 53.2% 25-Jun-00 18:36:44 +Test.c
  115. -------- ------- ----- --------- --------
  116.   225865   52405 76.7% 28-Jun-100 20:27:30   42 files
  117.